//
//  CTCConsultAnswer0Cell.m
//  CTC
//
//  Created by 李小龙 on 2017/3/29.
//  Copyright © 2017年 jieshuibao. All rights reserved.
//

#import "CTCConsultAnswererCell.h"

@interface CTCConsultAnswererCell ()
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *compLabel;
@property (weak, nonatomic) IBOutlet UILabel *positionLabel;
@property (weak, nonatomic) IBOutlet UIImageView *headImageVIew;


@end

@implementation CTCConsultAnswererCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setAnswerModel:(CTCAnswerModel *)answerModel
{
    _answerModel = answerModel;
    [SDWebImageTool imageView:self.headImageVIew imageName:[CTCUserModel shareUser].detailModel.headImg placeHolder:@"default-head" showProgress:NO];
    self.nameLabel.text = [CTCUserModel shareUser].detailModel.name;
    self.compLabel.text = [CTCUserModel shareUser].detailModel.fname;
    self.positionLabel.text = [CTCUserModel shareUser].detailModel.position;
}

@end
